package it.vidoc.controller;

import it.vidoc.utils.LoadNewPage;

import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.util.GenericForwardComposer;

@SuppressWarnings("rawtypes")
public class WinMainController extends GenericForwardComposer {
	private static final long serialVersionUID = 6204566952879868705L;
	private String alberto;
	
	@SuppressWarnings("unchecked")
	public void doAfterCompose(Component comp) throws Exception {
		super.doAfterCompose(comp);
	}
	
	public void onClick$Btn01(Event event){
		LoadNewPage.loadNewPage("/zulpages/page01.zul");		
	}

	public void onClick$Btn02(Event event){
		LoadNewPage.loadNewPage("/zulpages/page02.zul");		
	}
}
